//
//  MYAccountManager.h
//  JQLive
//
//  Created by Bruce on 2020/1/15.
//  Copyright © 2020 mlqk. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MYUserModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface MYAccountManager : NSObject

/// 当前账号用户信息
@property(nonatomic, strong,nullable) MYUserModel  *accountModel;

/// 用户id
@property(nonatomic, strong) NSString *memberId;
//设置单例
+ (MYAccountManager *)sharedManager;
/**
 存储账户信息
 
 @param account <#account description#>
 */
- (void)saveAccount:(MYUserModel *)account;
/**
 清除账户信息
 */
- (void)clearAccount;

/**
 外部调用账户
 
 @return 账户model
 */
- (MYUserModel *)account;


@end

NS_ASSUME_NONNULL_END
